package club.emergency.wechat.aliyun_sms.provider.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Create with IntelliJ IDEA
 * Project Name: wechat
 * Package Name: club.emergency.wechat.aliyun_sms.provider.properties
 * Date: 2018/11/16
 *
 * @author: 快乐的小菌菌
 * Description:
 */
@Data
@Component
@ConfigurationProperties(prefix = "sms")
public class SendMessageProperties {
    /**
     * 阿里云访问密钥，应必须使用子密钥，请向公众号管理员索取
     */
    private String accessKeyId;

    /**
     * 阿里云访问密钥，应必须使用子密钥，请向公众号管理员索取
     */
    private String accessKeySecret;

    /**
     * 模版CODE
     */
    private String templateCode;
}
